﻿using System;
namespace BZZ.Model
{
	/// <summary>
	/// 个人微薄实体类：myTwitter 。
	/// </summary>
	[Serializable]
	public class myTwitter
	{
		public myTwitter()
		{}

		#region Model
		private int _id; //id
		private string _content; //内容
		private DateTime? _dt; //日期
		private int _stauts; //状态


        /// <summary>
		/// id
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
        /// <summary>
		/// 内容
		/// </summary>
		public string content
		{
			set{ _content=value;}
			get{return _content;}
		}
        /// <summary>
		/// 日期
		/// </summary>
		public DateTime? dt
		{
			set{ _dt=value;}
			get{return _dt;}
		}
        /// <summary>
		/// 状态
		/// </summary>
		public int stauts
		{
			set{ _stauts=value;}
			get{return _stauts;}
		}
		#endregion Model

		#region txt document
		/*
个人微薄,myTwitter
id,内容,日期,状态
id,content,dt,stauts
i,c1000,d,i


--------------------------
-- 创建表[个人微薄]开始: 
-- alter table  [BZZ_myTwitter] add
-- IF EXISTS (SELECT 1 FROM sysobjects WHERE xtype='u' AND name='BZZ_myTwitter') drop table BZZ_myTwitter
  CREATE TABLE [BZZ_myTwitter] (
	 [id] integer IDENTITY (1, 1) PRIMARY KEY NOT NULL ,
	 [content] [varchar] (1000),
	 [dt] [datetime],
	 [stauts] int
  )

 exec sp_addextendedproperty N'MS_Description',N'个人微薄 ',N'user',N'dbo',N'table',N'BZZ_myTwitter', NULL, NULL
 exec sp_addextendedproperty N'MS_Description',N'id',N'user',N'dbo',N'table',N'BZZ_myTwitter',N'column',N'id'
 exec sp_addextendedproperty N'MS_Description',N'内容',N'user',N'dbo',N'table',N'BZZ_myTwitter',N'column',N'content'
 exec sp_addextendedproperty N'MS_Description',N'日期',N'user',N'dbo',N'table',N'BZZ_myTwitter',N'column',N'dt'
 exec sp_addextendedproperty N'MS_Description',N'状态',N'user',N'dbo',N'table',N'BZZ_myTwitter',N'column',N'stauts'

-- 创建表[个人微薄]结束。 
--------------------------

		*/
		#endregion document
	}
}

